package cn.epsilon3.domain.e3.dto;


import cn.epsilon3.annotation.E3DesField;
import cn.epsilon3.constant.DesensitizationFieldEnum;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @author epsilon3
 * @version 1.0
 * @project qianyu-openstage-backend-service
 * @description 用户登录返回对象
 * @date 2023/6/10 01:08:45
 */
@Data
@AllArgsConstructor
public class UserLoginDto implements Serializable {

    private static final long serialVersionUID = 1642346454213478L;

    /**
     * 用户名
     */
    @E3DesField(prefixLength = 1,suffixLength = 1)
    private String userName;

    /**
     * 邮箱
     */
    @E3DesField(type = DesensitizationFieldEnum.EMAIL)
    private String userEmail;

    /**
     * 登录时间
     */
    private String loginTime;

}
